mac-gui: gpsbabel
- file gpsbabel | grep '2 architectures' || exit 1
- file gui/objects/GPSBabelFE.app/Contents/MacOS/GPSBabelFE | grep '2 architectures' || exit 1
- cd gui ; qmake && xcodebuild
+ # file gpsbabel | grep '2 architectures' || exit 1
+ # file gui/objects/GPSBabelFE.app/Contents/MacOS/GPSBabelFE | grep '2 architectures' || exit 1
+ cd gui ; qmake && make
cd gui ; lupdate app.pro
cd gui ; lrelease app.pro
- mkdir gui/objects/GPSBabelFE.app/Contents/MacOS/lang
- cp gui/*.qm gui/objects/gpsbabelFE.app/Contents/MacOS/lang
+ mkdir gui/objects/GPSBabelFE.app/Contents/MacOS/translations
+ cp gui/*.qm gui/objects/gpsbabelFE.app/Contents/MacOS/translations
cp gpsbabel gui/objects/GPSBabelFE.app/Contents/MacOS
cp -r gui/help gui/objects/GPSBabelFE.app/Contents/MacOS
cp gui/gmapbase.html gui/objects/GPSBabelFE.app/Contents/MacOS
ui.outputWindow->setReadOnly(true);
langPath = QApplication::applicationDirPath();
-#if defined (Q_OS_WIN)
langPath.append("/translations/");
-#endif
+
// Start up in the current system language.
loadLanguage(QLocale::system().name());
createLanguageMenu();